import { RouteRecordRaw } from 'vue-router';
import { Layout } from '@/router/constant';
import { ProfileOutlined } from '@vicons/antd';
import { renderIcon } from '@/utils/index';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/arrangeClass',
    name: 'arrangeClass',
    redirect: '/arrangeClass/arrangeClass_',
    component: Layout,
    meta: {
      title: '实验排课',
      icon: renderIcon(ProfileOutlined),
      sort: 3,
      permissions: ['admin'],
    },
    children: [
      {
        path: 'arrangeClass_',
        name: 'arrangeClass_',
        meta: {
          title: '实验排课',
          permissions: ['admin'],
        },
        component: () => import('@/views/admin/arrangeClass/arrangeClass.vue'),
      },
      
    ],
  },
];

export default routes;
